import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import App from '@/App.vue'
import { store } from '@/store'
import routes from '@/routes'
import components from '@/components'
import './index.css'

const router = createRouter({
  history: createWebHistory(),
  routes,
})

const app = createApp(App)

app.use(store)
app.use(router)
app.use(components)

app.mount('#app')
